//
//  NFSWComTableViewCell.m
//  NeedForSpeed
//
//  Created by 王国强 on 15/10/28.
//  Copyright © 2015年 Avenger. All rights reserved.
//

#import "NFSWComTableViewCell.h"

#import "BaseHeader.h"

@implementation NFSWComTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self =[super initWithStyle:style reuseIdentifier:reuseIdentifier ];
    if (self) {
        self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH * 2/3 , 40)];
        [self.nameLabel setFont:[UIFont systemFontOfSize:14.]];
        [self.contentView addSubview:self.nameLabel];
        
        self.priceLabel = [[UILabel alloc]initWithFrame:CGRectMake(SCREEN_WIDTH *2  / 3, 0, SCREEN_WIDTH  / 3 , 40)];
        [self.priceLabel setFont:[UIFont systemFontOfSize:14.]];
        [self.contentView addSubview:self.priceLabel];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
